package com.woniu.service.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class TestPageVo<T> {

    private Long pages;
    private Long currentPage;
    private Long size;
    private Long total;
    private List<T> pageVo;
    public TestPageVo(Long pages, Long currentPage, Long size, Long total, List<T> pageVo) {
        this.pages = pages;
        this.currentPage = currentPage;
        this.size = size;
        this.total = total;
        this.pageVo = pageVo;
    }

}
